home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
sc3x04.exe
/
GETLOCK.DOC
< prev
next >
Wrap
Text File
|
1993-08-02
|
2KB
|
43 lines
Get Physical Record Locks By File
This call returns a list of all physical records that are locked in
a file.
Function 23 (17h)
Request Buffer
Offset Request Packet Contents Bytes Remarks
------ --------------------------- ----- -------
0 Sub-function Structure Len 2 Length
2 238 (EEh) 1
3 Data Stream Number 1 Name Space
5 Volume Number 1
6 Directory Entry 4
7 Next Request 2
Reply Buffer
Offset Reply Packet Contents Bytes Remarks
------ --------------------------- ----- -------
0 Next Request Record 2
2 Number Of Locks 2
The following 7 fields will be repeated for each lock found:
4 Logged Count 1 2
6 Shareable Lock Count 1 2
8 Record Start 1 4
12 Record End 1 4
16 Logical Connection Number 1 2
18 Task Number 1 2
20 Lock Type 1 1
21 Logged Count 2 2
23 Shareable Lock Count 2 2
25 Record Start 2 4
. . .
. . .
. . .
etc.